<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/swiper.min.css" />
    <link rel="stylesheet" href="./css/index.css" />

    <body>
    <?php
    // 索引数组
    $msg1=array("何小宇","2005010407","男","2002-03-04","15523883741","重庆潼南"); 
    $msg2=array("傅廷陇","2005010448","男","2001-02-11","17844733382","四川达州");
    $msg3=array("刘术林","2005010421","男","2001-09-09","15223883289","重庆云阳");
    $msg4=array("袁梓烜","2005010405","男","2001-03-21","13983870751","重庆巴南");
    $msg5=array("蔡国胜","2005010411","男","2002-05-23","13608316605","重庆南川");
    $msg6=array("冉志诚","2005010430","男","2002-06-01","17623349407","重庆酉阳");
    ?>
        <!-- <section class="content"> -->
        <div class="get_job_focus">
            <div class="swiper-container get_job_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                    <?php $file=$_FILES['file']; $fileName=$file['name']; move_uploaded_file($file['tmp_name'],$fileName); echo "<img src='$fileName'>"; ?>
                </div>
                    <div class="swiper-slide">
                        <img src="./img/1.jpg">
                        <table border="1px" width="250" height="250" cellspacing="0">
                            <tr>
                                <td>姓名</td>
                                <td><?php echo $msg1[0]?></td>
                            </tr>
                            <tr>
                                <td>学号</td>
                                <td><?php echo $msg1[1]?></td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td><?php echo $msg1[2]?></td>
                            </tr>
                            <tr>
                                <td>出生日期</td>
                                <td><?php echo $msg1[3]?></td>
                            </tr>
                            <tr>
                                <td>电话号码</td>
                                <td><?php echo $msg1[4]?></td>
                            </tr>
                            <tr>
                                <td>出生地</td>
                                <td><?php echo $msg1[5]?></td>
                            </tr>
                        </table>
                    </div>

                    <div class="swiper-slide">
                        <img src="./img/2.jpg">
                        <table border="1px" width="250" height="250" cellspacing="0">
                            <tr>
                                <td>姓名</td>
                                <td><?php echo $msg2[0]?></td>
                            </tr>
                            <tr>
                                <td>学号</td>
                                <td><?php echo $msg2[1]?></td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td><?php echo $msg2[2]?></td>
                            </tr>
                            <tr>
                                <td>出生日期</td>
                                <td><?php echo $msg2[3]?></td>
                            </tr>
                            <tr>
                                <td>电话号码</td>
                                <td><?php echo $msg2[4]?></td>
                            </tr>
                            <tr>
                                <td>出生地</td>
                                <td><?php echo $msg2[5]?></td>
                            </tr>
                        </table>
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/3.jpg">
                        <table border="1px" width="250" height="250" cellspacing="0">
                            <tr>
                                <td>姓名</td>
                                <td><?php echo $msg3[0]?></td>
                            </tr>
                            <tr>
                                <td>学号</td>
                                <td><?php echo $msg3[1]?></td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td><?php echo $msg3[2]?></td>
                            </tr>
                            <tr>
                                <td>出生日期</td>
                                <td><?php echo $msg3[3]?></td>
                            </tr>
                            <tr>
                                <td>电话号码</td>
                                <td><?php echo $msg3[4]?></td>
                            </tr>
                            <tr>
                                <td>出生地</td>
                                <td><?php echo $msg3[5]?></td>
                            </tr>
                        </table>
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/4.jpg">
                        <table border="1px" width="250" height="250" cellspacing="0">
                            <tr>
                                <td>姓名</td>
                                <td><?php echo $msg4[0]?></td>
                            </tr>
                            <tr>
                                <td>学号</td>
                                <td><?php echo $msg4[1]?></td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td><?php echo $msg4[2]?></td>
                            </tr>
                            <tr>
                                <td>出生日期</td>
                                <td><?php echo $msg4[3]?></td>
                            </tr>
                            <tr>
                                <td>电话号码</td>
                                <td><?php echo $msg4[4]?></td>
                            </tr>
                            <tr>
                                <td>出生地</td>
                                <td><?php echo $msg4[5]?></td>
                            </tr>
                        </table>
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/5.jpg">
                        <table border="1px" width="250" height="250" cellspacing="0">
                            <tr>
                                <td>姓名</td>
                                <td><?php echo $msg5[0]?></td>
                            </tr>
                            <tr>
                                <td>学号</td>
                                <td><?php echo $msg5[1]?></td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td><?php echo $msg5[2]?></td>
                            </tr>
                            <tr>
                                <td>出生日期</td>
                                <td><?php echo $msg5[3]?></td>
                            </tr>
                            <tr>
                                <td>电话号码</td>
                                <td><?php echo $msg5[4]?></td>
                            </tr>
                            <tr>
                                <td>出生地</td>
                                <td><?php echo $msg5[5]?></td>
                            </tr>
                        </table>
                    </div>
                    <div class="swiper-slide">
                        <img src="./img/6.jpg">
                        <table border="1px" width="250" height="250" cellspacing="0">
                            <tr>
                                <td>姓名</td>
                                <td><?php echo $msg6[0]?></td>
                            </tr>
                            <tr>
                                <td>学号</td>
                                <td><?php echo $msg6[1]?></td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td><?php echo $msg6[2]?></td>
                            </tr>
                            <tr>
                                <td>出生日期</td>
                                <td><?php echo $msg6[3]?></td>
                            </tr>
                            <tr>
                                <td>电话号码</td>
                                <td><?php echo $msg6[4]?></td>
                            </tr>
                            <tr>
                                <td>出生地</td>
                                <td><?php echo $msg6[5]?></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
        </section>
        <script src="./js/flexible.js"></script>
        <script src="./js/swiper.min.js"></script>
        <script>
            (function() {
                var swiper = new Swiper(".get_job_fo", {
                    slidesPerView: 1,
                    spaceBetween: 30,
                    centeredSlides: true,
                    loop: true,
                    navigation: {
                        nextEl: ".swiper-button-next",
                        prevEl: ".swiper-button-prev",
                    },
                });
            })();
            (function() {
                var swiper = new Swiper(".study_fo", {
                    slidesPerView: 2.2,
                    spaceBetween: 20,
                });
            })();
        </script>
    </body>

</html>l>